package com.ygqh.baby.service;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgPlatform;

import java.util.List;

/**
 * @author admin
 */
public interface YgPlatformService {

	List<YgPlatform> find();

	int findCount();

	YgPlatform findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgPlatform ygPlatform);

	int update(YgPlatform ygPlatform);

	int saveOrUpdate(YgPlatform ygPlatform);

	ResultSet<YgPlatform> search(QueryInfo queryInfo, String q);

	YgPlatform findByAppId(String appId, AppType small);

	@Deprecated
	YgPlatform findByPlatformNo(String platformNo);

	YgPlatform findByPlatformNo(String platformNo, AppType appType);
}
